NFS:HPR - Discord Rich Presence Plugin
A Discord Rich Presence integration plugin using Discord’s Social SDK for Need for Speed: Hot Pursuit Remastered.
- - -

This plugin integrates your in-game status into Discord’s activity system, giving user real-time status to what they’re doing in the game.
Also providing additional Quality of Life such as Discord Game Invite system to be able to invite anyone on Discord to your in-game lobby without needing to use the EA App.

Features:
- Mod Support: Supported modded language file, will show the modded string instead of vanilla
- Game Invite: Invite/Join anyone on Discord through the Discord Game Invite system. (Other person also need this plugin to accept the invitation.)
- Status: Show currently playing track/car in real-time.
- Multiplayer: Show your in-game username and lobby info. (Toggleable)

Installation:
Extract the plugin archive into your game folder and launch to generate config file.

Configuration:
You can customize your status through scripts\HPR - Discord RPC\rpc_config.ini in any text editor.

FAQ:
Why I don’t have an invite option in Discord?
- Make sure to turn on Share my activity in your Discord settings.

Why the Join button doesn’t do anything for my friend?
- The other person will also need this plugin in order to accept the invite.

Can I hide myself from showing inside the Discord invite?
- Yes, either turn off your activity or set showPartyInfo inside the config to 0.


Permission:
Recontribution is allow but please credit me or link to this page.
Source code for this plugin isn’t available due to exploit vulnerability.
- - -
If your status doesn’t look the same as in the image,
please check if you still have the old version installed or not and uninstall them.
(eg. NFSHPR DiscordRPC Rework.asi, NFSHPR - Discord RPC.asi)
or check if you have multiple instances of Discord running or not.

- - -

Changelogs:
-----------
R-1.0 (Private):
- Reimplemented Rich Presence with Discord Social SDK.
- Added Discord game invite and join support for players with the mod installed.
- Added mod support through game resource files.
- Added config with live reload.
- Improved menu, garage, lobby, career, and world state detection.

R-2.0 (Public Release):
- Fixes some issues.
-----------
